package com.maoning.gulimallsearch.vo;

import lombok.Data;
import org.elasticsearch.action.ingest.IngestActionForwarder;

import java.util.List;

/**
 * @Author : 猫宁
 * @Date: 2022/2/11
 */
@Data
public class SearchParam {
    private String keyword;//页面传递过来的匹配字
    private Long catalog3Id;//3级分类id
    /**
     * sort=saleCount_asc/desc/
     * sort=skuPrice_asc/desc/
     * sort=hotScore_asc/desc/
     */
    private String sort;
    /**
     * 好多其他的过滤条件
     * 是否有货hasStock
     *
     */
    private Integer hasStock;//是否有货
    private String skuPrice;//价格区间_的拼串
    private List<Long> brandId;//品牌id的集合
    private List<String> attrs;//属性的集合
    private Integer pageNum = 1;//页码

    private String queryString;



}
